package com.edu.edurealtimepublisher.service.impl;

import com.edu.edurealtimepublisher.bean.TrafficChBean;
import com.edu.edurealtimepublisher.mapping.TrafficStatisticsMapper;
import com.edu.edurealtimepublisher.service.TrafficStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 互动域渠道流量统计
 */
@Service
public class TrafficStatisticsServiceImpl implements TrafficStatisticsService {

    @Autowired
    private TrafficStatisticsMapper trafficStatisticsMapper;

    @Override
    public List<TrafficChBean> selectChannelTraffic(Integer date) {

        return trafficStatisticsMapper.selectChannelTraffic(date);

    }
}
